/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.

*/

package org.foment.gem;
import java.io.*;
import java.net.*;
import java.sql.*;
import config.TransferProtocol;
//import org.foment.dialogs.LoginDialog;
import org.foment.data.SqlDataResultSet;
import org.foment.util.Md5Generator;
 
/**
 *
 * @author dusan
*/
public class ClientMain
{
    public static void main(String args[]) throws IOException, ClassNotFoundException
    {
        Client cl = new Client();

        cl.send(TransferProtocol.SQL_QUERY, new String("SELECT * FROM job;"));

        short cmnd    = -100;
        SqlDataResultSet sdata = null;

        cl.receive();

        System.out.println("Command: " + cmnd);
        sdata.toString();

        System.exit(0);
       // LoginDialog l = new LoginDialog(cl);
    }
    
}
